package edu.caece.langprocessor.syntax.tree;

public class NameFactory {

	private String name;
	private Integer index;

	public NameFactory(String name){
		this.name = name;
		index = new Integer(1); 
	}
	
	public String getLabel() {
		String newLabel = name + "_" + index.toString();
		index++;
		return newLabel;
	}

}
